package cn.hallele.leinsteining.mc.infrastructure.metadata.io;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * 上下文请求参数
 *
 * @author anle5
 * @since 2024/7/26 21:23
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Request<T> implements Serializable {
    @Serial
    private static final long serialVersionUID = 8087335636418261930L;

    /**
     * 请求体指标
     */
    private Metric metric;

    /**
     * 请求体数据
     */
    private T data;
}
